using System;
using System.Data;
using System.Configuration;

using System.Collections;
using System.Web;
using System.Web.Security;

using System.Web.UI;
using System.Web.UI.WebControls;

using System.Web.UI.WebControls.WebParts;

using System.Web.UI.HtmlControls;
using Component;


public partial class BackEnd_ServiceTransport : System.Web.UI.UserControl
{
    Introduction intro = new Introduction(KetNoiCSDL.session);
    protected void Page_Load(object sender, EventArgs e)
    {
        
        intro = IntroductionDB.GetObjectByid(3,true);
        txtContentEL.Value = intro.ContentEL;
        txtContentVN.Value = intro.ContentVN;

    }
    public void cmdLuu_Click(object sender, System.EventArgs e)
    {
        intro.ContentVN= txtContentVN.Value;
        intro.ContentEL = txtContentEL.Value;
        if (IntroductionDB.Save(intro) == 1)
        {
            this.lbMessage.Text = ConstString.capNhatTC;                
        }
        else this.lbMessage.Text = ConstString.capNhatTB;
       
    }
}
 